﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Entity;
using BAL;
using Common;
using System.Text;
namespace Web
{
    public partial class SchoolChartPrint : System.Web.UI.Page
    {
        protected string allowPrint = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (!PageValidate.QueryStringIsEmpty("SchoolId"))
                {
                    string schoolid = PageValidate.QueryString("SchoolId");
                    SchoolSetInfo schoolsetinfo = SchoolSet.GetInfoBySchoolId(int.Parse(schoolid));
                    if (schoolsetinfo != null && !PageValidate.IsEmpty(schoolsetinfo.ChartStr))
                        allowPrint = schoolsetinfo.ChartStr;
                }
            }
        }
    }
}
